#include<stdio.h>
int* twoSum(int* nums, int numsSize, int target, int* returnSize)
{
    int*ret=NULL;
    for(int m=0;m<numsSize;++m)
    {
        for(int z=m+1;z<numsSize;++z){
            if(nums[m]+nums[z]==target)
            {
                int*ret=(int*)malloc(sizeof(int)*2);
                ret[0]=m,ret[1]=z;
                *returnSize=2;
                return ret;
            }
        }
    }
    *returnSize=0;
    return NULL;
}